﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Atlantyda
{
    public abstract class Field
    {
        private int coordinateX;
        private int coordinateY;
        private int energy;
        private int height;

        public bool IsEnergy()
        {
            if (energy > 0)
                return true;
            else
                return false;
        }

        public int CoordianteX
        {
            get { return this.coordinateX; }
            set { this.coordinateX = value; }
        }

        public int CoordianteY
        {
            get { return this.coordinateY; }
            set { this.coordinateY = value; }
        }

        public int Energy
        {
            get { return this.energy; }
            set { this.energy = value; }
        }

        public int Height
        {
            get { return this.height; }
            set { this.height = value; }
        }
    }
}
